﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAO;
using Common;
using System.Data;

namespace WebComputers.AdministratorHA
{
    public partial class frmTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int p,s,i;
            i = 0;
            s = 10;
            p = 1;
            grvTest.DataSource = DanhMucHangHoaDAO.SelectAllLinqForPaging(p,s, ref i);

            //grvTest.DataSource = LoaiHangHoaDAO.SelectAll();
            grvTest.DataBind();
            //Response.Write("ok");
           
        }

        protected void btnUpload_Click(object sender, EventArgs e)
        {

        }

        protected void btnProcess_Click(object sender, EventArgs e)
        {
            System.Threading.Thread.Sleep(3000);
            lblText.Visible = true;
        }
    }
}